// activamos la pantalla
LOAD DISPLAY 800 600 24 YES
LOAD LOAD_SCREEN data\texturas\visualizer_title.jpg

// cargamos el sonido
LOAD SOUND data\sound\BCN.MP3

LOAD ESCENA_BIN DATA\BIN\SCENE_0 SCN1
LOAD ESCENA_BIN DATA\BIN\SCENE_1 SCN2
LOAD ESCENA_BIN DATA\BIN\SCENE_2 SCN3
LOAD ESCENA_BIN DATA\BIN\SCENE_3 SCN4

LOAD LAYER2D DATA\texturas\negro.jpg BACKGROUND FNEGRO
SET LAYER2D FNEGRO ALPHA_FUNC 6
SET LAYER2D FNEGRO ALPHA_ANIMATION 1.0 1.0 10
SET LAYER2D FNEGRO ALPHA_ANIMATION 1.0 0.5 200
SET LAYER2D FNEGRO ALPHA_ANIMATION 0.5 1.0 160
SET LAYER2D FNEGRO FPS 10

LOAD LAYER2D DATA\texturas\cuadro.jpg BACKGROUND FLASH
SET LAYER2D FLASH ALPHA_FUNC 0
SET LAYER2D FLASH ALPHA_ANIMATION 1.0 0.0 20
SET LAYER2D FLASH FPS 20

LOAD LAYER2D DATA\texturas\cuadro.jpg BACKGROUND FLASH2
SET LAYER2D FLASH2 ALPHA_FUNC 0
SET LAYER2D FLASH2 ALPHA_ANIMATION 1.0 0.0 400
SET LAYER2D FLASH2 FPS 10

LOAD LAYER2D DATA\texturas\FINAL.jpg BACKGROUND FINAL
SET LAYER2D FINAL ALPHA_FUNC 0
SET LAYER2D FINAL ALPHA_ANIMATION 1.0 1.0 5000
SET LAYER2D FINAL FPS 20

LOAD LAYER2D DATA\texturas\negro.jpg BACKGROUND FNEGRO2
SET LAYER2D FNEGRO2 ALPHA_FUNC 6
SET LAYER2D FNEGRO2 ALPHA_ANIMATION 0.0 1.0 100
SET LAYER2D FNEGRO2 ALPHA_ANIMATION 1.0 1.0 1000
SET LAYER2D FNEGRO2 FPS 20

// cargamos el archivo de script
LOAD SCRIPT script.txt
